IList<Tuple<long, int>> applyOnTree; applyOnTree.ToDictionary(x => x.Item1, x => x.Item2);